package com.zyd.shiro.utils;

import java.util.ArrayList;
import java.util.List;

public class SearchUtils {
    public static List<String> paramToList(String param){
        List<String> paramList = new ArrayList<>();
        String[] paramStr = param.split(" ");
        for (String s : paramStr) {
            String strim = s.trim();
            if (!strim.equals("")){
                paramList.add(strim);
            }
        }
        return paramList;
    }

    public static void main(String[] args) {
       printOut(76234);
    }
    
    public static int f(int x){
        if(x ==0 ){
            return 0;
        }else {
            return 2*f(x-1)+x*x;
        }
    }

    public static void printOut(int n){
        if(n>=10){
            printOut(n/10);
        }
        System.out.println(n);
    }

}
